cmake_minimum_required(VERSION 3.10)
project(MPC_Control)

# 查找 Eigen3
find_package(Eigen3 REQUIRED)

# 添加可执行文件
add_executable(mpc_control driver_code.cpp)

# 链接 Eigen3
target_include_directories(mpc_control PRIVATE ${EIGEN3_INCLUDE_DIRS})